package com.markerhub.service;

import com.markerhub.entity.SysCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.markerhub.entity.SysUserCourse;
;import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wang
 * @since 2022-03-31
 */
public interface SysCourseService extends IService<SysCourse> {

    //查找单个正式课程
    SysCourse Find(SysCourse sysCourse);

    String checkDuplicateId(SysCourse sysCourse);

    boolean checkTeacherBusy(SysCourse sysCourse);

    boolean checkLocationBusy(SysCourse sysCourse);

    SysCourse getObjectByCourseId(String courseId);

    SysCourse process(SysCourse sysCourse);


    String getCourseNameById(Long id);

    boolean crash(Long id,SysUserCourse chooseCourse);
}
